/**
 * 
 */
package com.google.code.cisx.wfe.model;

import com.google.code.cisx.wfe.api.WorkflowException;

/**
 * @author <a href='mailto:rthakur@bravurasolutions.com'>Rahul Thakur</a>
 * 
 */
public interface PetriNetEntityProcessor<T extends PetriNetEntity<?>> {

    /**
     * Processes a specified {@link PetriNetEntity}.
     * 
     * @param entity
     * @throws WorkflowException
     */
    public void/* TODO: Should we return some kind of RESULT Object here? */process(
            T entity) throws WorkflowException;
}
